﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IHISCETeim.DAL;
using IHISCETeim.Model;
using IHISCETeim.Library;
using System.Data;


namespace IHISCETeim.BLL
{
    public class VIPAgentExController
    {
        public static VIPAgentExInfo GetListByUserID(int UserId)
        {
            VIPAgentExInfo obj=CBO.FillObject<VIPAgentExInfo>(VIPAgentExDAL.GetListByUserID(UserId));
            if(obj==null)
                obj=new VIPAgentExInfo(){ UserId=0, AvailablePoint=0, CustomerExChangePoint=0, TotalPoint=0};
            return obj;
        }
    }
}
